#!/bin/bash
# macOS下交叉编译thrift c++ 库
# 需要依赖的工具和库
# 如果开启 WITH_OPENSSL,要求　cmake 3.13.5 以上版本,否则要求 3.11.1

sh_folder=$(cd "$(dirname $0)"; pwd -P)

NO_LINKE_GCC_STATIC=ON \
BOOST_ROOT=$sh_folder/dist/boost_1_75_0_$(gcc -dumpmachine) \
BUILD_TYPE=RELEASE \
$sh_folder/build-thrift.sh 
